package com.app.repository.interfaces;

import com.app.model.main.Rank;

public interface RankMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Rank record);

    int insertSelective(Rank record);

    Rank selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Rank record);

    int updateByPrimaryKey(Rank record);

    /**
     * 根据等级获取对应的金币数
     */

    Long getCoinByTitle(byte title);

}